import requests,json

def uploadfile():
	url= ''
	files = {"file": ('file_name', open(fp, "rb"), "image/png")}
	resp = json.loads(requests.post(url,files = files).text)